<?php
	require_once "BaseModel.php";
	require_once "Categories.php";

	class Services extends BaseModel 
	{
		public $type;
		
		//generic service info
		public $cityName;
		public $postalCode;
		
		public $email;
		public $telNumber;
		
		public $categories;
		
		public function Services( $id, $type, $cityName, $postalCode, $email, $telNumber, $catName )
		{
			$this->id = $id;
			
			$this->type = $type;
			
			$this->cityName   = $cityName;
			$this->postalCode = $postalCode;
			
			$this->email     = $email;
			$this->telNumber = $telNumber;
			
			$this->categories = array();
			array_push( $this->categories, new Categories( 0, $catName ) );
		}
	}
?>